import * as React from 'react'
import TwsReactMarkdownPreview from '../common/markdown/MarkdownPreview'
import { Card } from 'antd/es';

export default class ProgramBody extends React.Component<any>{

    render() {
        const { introduction, title } = this.props
        return <Card title={title} noHovering bordered={false}>
            <div className='markdown-wrap'>
                <TwsReactMarkdownPreview source={introduction} />
            </div>
        </Card>
    }
}